package com.Test;

/**
 * 测试抽象类的继承
 */
public class Test1 {
	public static void main(String[] args) {

		B b = new B();
		B b2 = new B();

	}

}

abstract class A {
	static {
		System.out.println("abstract class A static ...");
	}
	public A() {
		System.out.println("A()...");
	}
}
class B extends A {
	public B() {
		System.out.println("B()...");
	}
}